package com.yonghui;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

/**
 * @description: TODO
 * @author: zhangtong
 * @create: 2021-03-19 19:53
 **/
@ImportResource(locations="classpath:spring-dubbo.xml")
//@SpringBootApplication
@EnableAutoConfiguration
@ComponentScan(value = {"com.yonghui"})
public class DubboCustomerApp {

    public static void main(String[] args) {
//        SpringApplication.run(SandboxProviderApp.class, args);
        new SpringApplicationBuilder(DubboCustomerApp.class).run(args);
    }
}
